/*CSS Reset*/

*{
    margin: 0;
    padding: 0;
}

body{
    background: #f6f6f6;
}

li{
    list-style: none;
}

img{
    display: block;
    border: none;
}

label{
    cursor: pointer;
}
/*全局通用样式*/
/*定宽布局*/
.w{
    width: 1080px;
    margin:0 auto;
    position:relative;
    overflow: hidden;
    background-color: #f6f6f6;
}

.link{
    color: #999;
    cursor: pointer;
    text-decoration: none;
}
/*link的伪类*/
.link:hover{
    color: #215496;
}

.link-text{
    color:#215496;
    text-decoration: none;
}

.Backlink{
    color: #999;
    cursor: pointer;
    text-decoration: none;
    float: right;
}
.Backlink:hover{
    color: #215496;
}
.btn{
    /* display: inline-block; */
    padding: 10px 20px;
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    border: none;
    background: #215496;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    outline: none;

}
/*面包屑导航*/
.crumb{
    height: 50px;
    line-height: 50px;
    background: #f6f6f6;
    color: #888;
    font-size: 14px;
    border-top: 2px solid #215496;
    margin-bottom: 10px;
}

.product-top-table{
    width: 100%;
    background-color: #eee;
    margin-top: 10px ;
    border-collapse: collapse;
}

.product-top-table th,td{
    border-bottom: 1px dotted #ddd;
}

.product-top-table .cell-img{
    text-align: center;
    font-size: medium;
    width: 12%;
    padding: 10px 10px 10px 40px;
}


.product-top-table .cell-itemid{
    width: 10%;
    text-align: center;
    font-size: medium;
}
.product-top-table .cell-productid{
    width: 10%;
    text-align: center;
    font-size: medium;
}
.product-top-table .cell-desp{
    width: 10%;
    text-align: center;
    font-size: medium;
}
.product-top-table .cell-stock{
    width: 10%;
    text-align: center;
    font-size: medium;
}
.product-top-table .cell-quantity{
    width: 10%;
    text-align: center;
    font-size: medium;
}


.product-top-table .cell-listprice{
    width: 10%;
    text-align: center;
    font-size: medium;
}
.product-top-table .cell-totalprice{
    width: 10%;
    text-align: center;
    font-size: medium;
}
.product-top-table .cell-remove{
    width: 10%;
    font-weight: bold;
    text-align: center;
    font-size: medium;
}


.product-empty{
    height: 60px;
    padding-top: 30px;
}

.empty{
    font-weight: bold;
    height: 60px;
    font-size: 18px;
    padding-top: 30px;
    text-align: center;
}


.product-table {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    border-collapse: collapse;
    background-color: #fff;
}

.product-table th,td{
    border-top: 1px dotted #ddd;
    border-bottom: 1px dotted #ddd;
}
.product-table .cell-img{
    width: 12%;
    padding: 10px;
    text-align: center;
}

.product-table .cell-img .checkbox{
    width: 15px;
    height: 80px;

    margin-top: -5px;
    margin-bottom: -5px;

    padding-left: 5px;
    padding-top: 60px;
    padding-bottom: 0px;
}


.product-table .cell-img .checkbox .product-img{
    /* visibility: hidden; */
    width: 80px;
    height: 80px;
    margin-left: 30px;
    margin-top: -50px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    vertical-align: middle;

}

.product-table .cell-itemid{
    width: 10%;
    text-align: center;
    font-size: medium;
}
.product-table .cell-productid{
    width: 10%;
    text-align: center;
    font-size: medium;
}
.product-table .cell-desp{
    width: 10%;
    text-align: center;
    font-size: medium;
}
.product-table .cell-stock{
    width: 10%;
    text-align: center;
    font-size: medium;
}
.product-table .cell-quantity{
    width: 10%;
    text-align: center;
    font-size: medium;
}
.product-table .cell-quantity .cell-quantity-input{
    width: 40%;
    text-align: center;
    background-color: #fff;
    border-color: #ddd;
    outline:none;
}
.product-table .cell-quantity .cell-quantity-btn{
    height: 10%;
    width: 15%;
    background-color: #fff;
    border-color: #eee;
    cursor: pointer;
}
.product-table .cell-quantity .cell-quantity-button{
    height: 10%;
    width: 15%;
    background-color: #fff;
    border-color: #eee;
    cursor: pointer;
}
.product-table .cell-listprice{
    width: 10%;
    text-align: center;
    font-size: medium;
}
.product-table .cell-totalprice{
    width: 10%;
    text-align: center;
    font-size: medium;
}
.product-table .cell-remove{
    width: 10%;
    text-align: center;
    font-size: medium;
}
.product-table .cell-removeButton{
    width: 20px;
    height: 20px;
    line-height: 20px;
    position: relative;
    text-align: center;
    font-size: medium;
    text-decoration: none;
    color: #888;
}
.product-table .cell-removeButton:hover{
    color: #215496;
}




.submit-content{
    background:#eee;
    width: 100%;
    /* text-align: right; */
    font-size: 18px;
    /* padding: 20px 0; */
}
.submit-content .submit-content-left{
    text-align: left;
    width: 20%;
}
.submit-content .delete{
    width: 82%;
    height: 20px;
    line-height: 20px;
    position: relative;
    text-align: center;
    font-size: medium;
    text-decoration: none;
    border: none;
    color: #888;
}
.submit-content .delete:hover{
    color: #215496;
}
.submit-content .nbs{
    width: 5%
}
.submit-content .nbsp{
    width: 50%
}
.submit-content .subtotal{
    width: 10%;
    font-size: 18px;
    text-align: right;
    /* box-sizing:border-box; */
    padding-right: 5px;
}

.submit-content .total-price{
    width: 10%;
    margin-right: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #ff2525;
    vertical-align: middle;
    /* box-sizing:border-box; */
    padding-right: 5px;
}
.submit-content .order-sumbit{
    width: 10%;
    text-align: center;
    margin-right: 80px;
    box-sizing:border-box;
    padding-right: 0px;

}




/*页面panel*/
.panel{
    padding: 10px;
    margin-bottom: 10px;
    background: #f6f6f6;
}

.panel .panel-title{
    padding: 10px;
    color: #666;
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px solid #eee;
}

.panel .panel-body{
    padding: 10px;
    overflow: hidden;
}


.pet-favorite{
    font-size: 18px;
    font-weight: bold;
    color: #215496;
    padding-top: 40px;
    padding-left: 20px;
}


.pet-item{
    float:left;
    width: 120px;
    height: 180px;
    margin: 20px 13px 0 16px;
    padding: 5px  10px;
    border: 2px solid #ccc;
    cursor: pointer;
}
.pet-item:hover{
    border: 2px solid #215496;
}
.pet-item .pet-img{
    width: 80px;
    height: 80px;
    margin-left: 10px;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.pet-item .pet-name{
    font-size: 16px;
    color: #666;
    height: 20px;
    line-height: 20px;
    overflow: hidden;
    text-decoration: none;
    margin-top: 30px;
    text-align: center;
}
.pet-item .pet-name .pet-name-font{
    text-decoration: none;
    font-weight: bold;
    color: #666;
}
.pet-item .pet-name .pet-name-font:hover{
    color: #215496;
}
.pet-item .pet-id{
    font-size: 14px;
    color: #666;
    height: 20px;
    line-height: 20px;
    overflow: hidden;
    text-decoration: none;
    margin-top: 5px;
    text-align: center;
}
.pet-item .pet-id .pet-id-font{
    text-decoration: none;
    font-weight: bold;
    color: #666;
}
.pet-item .pet-id .pet-id-font:hover{
    color: #215496;
}

.pet-item .pet-desp{
    font-size: 14px;
    height: 20px;
    line-height: 20px;
    overflow: hidden;
    /* border-bottom: 1px solid #ddd; */
    margin-top: 15px;
    text-align: center;
}


/*借用~*/
.tableCSS td:first-child{
    width: 200px;
    height: 40px;
    text-align: center;
}

.tableCSS td{
    width: 300px;
    height: 40px;
    text-align: center;
}